package com.example.smart_campus.service;


import com.example.smart_campus.pojo.entity.CourseSelection;
import com.example.smart_campus.pojo.entity.Courses;
import org.springframework.data.relational.core.sql.In;


import javax.swing.plaf.IconUIResource;
import java.util.List;

/**
 * <p>
 * 课程表，存储课程的基本信息 服务类
 * </p>
 *
 * @author liyv
 * @since 2024-10-19
 */
public interface CoursesService {

   void  insertCourse(String courseNo, String courseName, float credits, Integer teacherId, String courseIntroduction);
   void  updateCourse(Courses course);
   List<CourseSelection> chosenCourse(Integer studentId);
//   List<Courses> getSelectCourses();
//   List<CourseSelection> getChosen(Integer courseId);
//   void  insertSelect(Integer courseId, Integer studentId);
}
